package com.usefullc.english.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usefullc.english.domain.Tag;
import io.lettuce.core.dynamic.annotation.Param;
import java.util.List;

public interface TagMapper extends BaseMapper<Tag> {

//useful_auto_generate_section_start


//useful_auto_generate_section_end

    int deleteContentTagByContentId(@Param("contentId") Long contentId);

    List<Tag> findByContentId(@Param("contentId") Long contentId);

    int insertContentTag(@Param("contentId") Long contentId,@Param("tagId") Long tagId);

}
